Questions tagged [asymmetric]

42 questions
0
votes
0 answers

RSA Libraries Python

To work with RSA encrytion in Python, I have done extensive research and found several libraries including pycrypto, pycryptodome, etc. However, by using the simple code below.. it all works and it concerns me that I'm missing something???? This is…
PidePython
  • 61
  • 1
  • 5
0
votes
0 answers

Is there a thing like asymmetric authorization in web?

I have a private API, that I want 3rd party clients to authorize without sending sensitive information to the client, like a password. The usual flow in this case is: We give a secret one time token to a client Upon activating this token (e.g.…
deathangel908
  • 8,601
  • 8
  • 47
  • 81
0
votes
1 answer

FFTW non-symetric inverse transform c2r

Suppose I have a real 2D matrix A(MxN), by using the FFTW3 r2c transform I take the matrix into Fourier space where B is the complex array B=fft(A(Mx(N/2+1))). I know that B has Hermetian redundancy, so I perform some operations (left-right, up-down…
Brani
  • 25
  • 3
0
votes
2 answers

Converting factors to binary asymmetric variable types

I want to convert some variable types in R from factors to binary asymmetric variable types. I successfully converted some of my data from factors to ordered factors using this syntax: mydata[,200] <-as.ordered(mydata[,200]), but when I tried…
extragum01
  • 11
  • 1
0
votes
1 answer

Recursive function seems to be fine, but won't return False

So the function should check if a list is symmetric; if the list is empty or has one integer, it is symmetric. Otherwise the function should check if the first and last integers are the same and go on recursively. If not, return False. The code…
GaryB
  • 51
  • 1
  • 1
  • 5
0
votes
2 answers

storing a matrix as a collection in MongoDB

I have a bunch of points {A, B, C, ...., X} and I want to store their distances in a matrix. One extra complication is that the distance from A to B and not the same as the distance from B to A, they are asymmetric. My aim is to store this matrix…
MTA
  • 739
  • 2
  • 9
  • 29
0
votes
1 answer

ggplot2 expecting square matrix even though matrix is not symmetric

Hi I am trying to plot a heat map in ggplot2, using a matrix with 9 rows and 10 columns I melt the matrix using the "as.matrix" notation in reshape2 and get the following output A1 = melt(as.matrix(A)) Var1 Var2 value 1 1 X0.05…
iksaglam
  • 59
  • 3
0
votes
2 answers

asymmetric regularization in machine learning libraries (e.g. scikit ) in python

The problem requires me to regularize weights of selected features while training a linear classifier. I am using python SKlearn. Having googled a lot about incorporating asymmetric regularization for classifiers in SKlearn, I could not find any…
0
votes
2 answers

R Reshape Cast with Asymmetric Function

How do you reshape data using cast with an asymmetric function? I have the data >t a b c 1 1 1 30 2 1 2 25 3 2 1 59 4 2 2 1 5 3 1 12 6 3 2 97 7 4 1 66 8 4 2 43 9 5 1 13 10 5 2 32 For each level x of a I'd like to get the…
esa606
  • 370
  • 3
  • 13
0
votes
1 answer

Omnetpp model asimmetric channel

I have to model a bittorrent network, so there are a number of node connected each other. Each node has a download speed, say 600KBps, and an upload speed, say 130KBps. The problem is: how can I model this in omnetpp? in the NED file i created the…
Marco
  • 91
  • 9
-1
votes
3 answers

Asymmetric nearest-neighbour in Java

From a sorted map, I want to retrieve a subset of n entries, starting m entries before a specified value v. For example, for the key set k = {0.2, 0.3, 0.4, 0.6, 0.8, 0.9, 1.0}, a query with n=5, m=2, v=0.5, would return {0.3, 0.4, 0.6, 0.8, 0.9}.…
Michael Schmid
  • 4,601
  • 1
  • 22
  • 22
-1
votes
2 answers

Difference between symmetric and asymmetric matrix

I'm practising with graphs and adjacency matrices. But I couldn't find a good example that differentiates symmetric and asymmetric matrix. Can anyone tell me how to distinguish the difference between symmetric or asymmetric matrix.
JVTura
  • 313
  • 1
  • 4
  • 12
1 2
3