Questions tagged [symmetric]

is used in its general meaning, so you are encouraged to use one or more tags in addition to this tag, to describe your case better.

An example of Symmetric would be a Symmetric Key, which is used in both the sides of an algorithm in cryptography.

170 questions
0
votes
0 answers

use 2 private keys to encrypt content that could not be accessed by single key owner

I need to provide a security mechanism like one used in the "2-key nuke button" of nuclear submarines movies :D. I need to encrypt files that no-one could decrypt, neighter the one owning one of the encryption keys. Content could be decrypted only…
0
votes
1 answer

How to efficiently check that a matrix is symmetric with respect to the secondary diagonal

I know how to check for the main diagonal symmetry. for (line=0;line
aku jack
  • 1
  • 1
0
votes
0 answers

Why the Symmetrix matrix is showing not symmetric in R?

I have the following matrix (covariance matrix) that is used to generate multivariate normal random variables using the rmvnorm(1,mean_vec_mis,var_mat_mis,) function. > var_mat_mis X1 X2 X3 X4 X5 X6 …
Uddin
  • 754
  • 5
  • 18
0
votes
0 answers

Fortran + BLAS: Full symmetric rank-1 update / mirror a matrix block along the diagonal

I have a general matrix with a symmetric block, say, M = [ x, v^T u, A ] where A is the symmetric block, and u,v are some column vectors. I would like to perform a symmetric rank-1 update on A, and I'm aware of dsyr. However, it seems that…
jinzx10
  • 31
  • 2
0
votes
1 answer

Subset a distance matrix in R by values

I have a very large distance matrix (3678 x 3678) currently encoded as a data frame. Columns are named "1", "2", "3" and so on, the same for rows. So what I need to do is to find values <26 and different from 0 and to have the results in a second…
Nancy
  • 101
  • 1
  • 8
0
votes
1 answer

How to populate a square, symmetric DataFrame with elements from a Series based on pair names?

In the following empty DataFrame, which is a square, symmetric matrix, df = pd.DataFrame(np.zeros((6,6)), index=names, columns=names) df looks like MCD VZ JPM PG WBA NKE MCD 0.0 0.0 0.0 0.0 0.0 0.0 VZ 0.0 0.0 0.0 0.0 0.0 …
develarist
  • 1,224
  • 1
  • 13
  • 34
0
votes
0 answers

How to build a covariance matrix from eigen vectors wtih the same size

I have 2 eigen vectors sets X and Y with size=(7,7) (so 7 eigen vectors of 7 components). I am looking for a way to build a covariance matrix from these 2 eigen vectors sets. In a first time, I did the function : # Compute covariance between vectors…
user1773603
0
votes
2 answers

Normalize a symmetric matrix by fixing unique diagonal value

I have a symmetric matrix a for which the diagonal elements can be different. >>> import numpy as np >>> a = np.array([[3, 7, 6], [7, 2, 5], [6, 5, 1]]) >>> a array([[3, 7, 6], [7, 2, 5], [6, 5, 1]]) I would like to normalize this…
0
votes
1 answer

Cannot get symmetric key from keychain

Try to create and retreive a symmetric key from keychain : Add the key let key = Data(repeating: 0xee, count: 32) let name = "test" let attributes = [ kSecAttrKeyType: kSecAttrKeyTypeAES, kSecAttrKeySizeInBits: NSNumber(value: 256) ] as…
Stephane
  • 391
  • 1
  • 2
  • 13
0
votes
1 answer

Generating a Strongly Symmetric Matrix in Numpy

Any ideas on how to efficiently generate an arbitrary numpy array of fixed dimensions (n,m) where all the rows are permutations of each other and all the columns are permutations of each other (i.e. strongly symmetric)?
0
votes
1 answer

Efficient way to create dictionary of symmetric matrix with colum-row pair as key, and corresponding value in matrix as value

I want to create a dictionary in the form of (row, column): value, from a symmetric matrix (like a distance matrix) as depicted below, whithout taking into account the NaN values or zeros (zeros is the diagonal). The matrix is a pandas dataframe.…
kyra
  • 13
  • 2
0
votes
1 answer

How to set palette symmetric gnuplot

Do you know how to set a symmetric palette color ? I mean dark/blue for z=0, red/orange z=1.5 and z=-1.5 and yellow z=3 z=-3 with still a gradient color between color level. If you have any ideas please ? Thanks you !
Suntory
  • 305
  • 2
  • 15
0
votes
1 answer

Is there a way to generate random square matrixes until there is one that is symmetric? (C)

What I need to do is internally create a random matrix of 3>=n>=8 rows and columns, the program should do so until it finds one that is diagonally symmetric, and then print it, the random numbers must be from 0 to 7, and there should be a…
0
votes
1 answer

I don't know how to chech if a string is symmetric or not in mips

i'am new at StackOverFlow, i get into trouble and i need your help. I'am student and i need to write a MIPS program that checks if one string is symmteric. *sample symmetric strings : ana, asddsa, fillif and so on. This is my first line of code…
0
votes
0 answers

OWL:SymmetricProperty not give the desired result

I have similar it's owl:SymmetricProperty
amiar
  • 11
  • 4