Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

Commented Feature: Modulo operator on matrix and vector [5662]

$
0
0
Hi - Is there a modulus operator on a matrix? More specifically, I'm creating a matrix:

var matrixA = new DenseMatrix(new[,] { { 5.0, 8.0 }, { 17.0, 3.0 } });
and I would like to perform the following operation:
var matrixB = matrixA % 26;
or something to that effect. The application is for encryption (Hill Cipher).
Thanks,
Mike
Comments: Fixed in changeset df3f7fc0b460380d79585fe58f6895c97a2ad002

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>