Java Matrix Benchmark 2013 Update
Java Matrix Benchmark (JMatBench) is a tool for evaluating Java linear algebra libraries for speed, stability, and memory usage. This tool can be used by users to select the best library for their...
View ArticleJava Matrix Benchmark 2013 Update
Java Matrix Benchmark (JMatBench) is a tool for evaluating Java linear algebra libraries for speed, stability, and memory usage. This tool can be used by users to select the best library for their...
View ArticleMatrix operations: Gaussian elimination, Upper triangulization and...
/** Gaussian elimination / Upper triangulization / Back-substitution example by Adrian Boeing adrianboeing.blogspot.com www.adrianboeing.com */ #include <stdio.h> void PrintMatrix(double **mat,...
View ArticleEfficient Java Matrix Library (EJML) 0.18 Released!
Location: http://code.google.com/p/efficient-java-matrix-library/ Version 0.18 of EJML was released December 4, 2011 and can be found at EJML's website with its Maven files soon to be...
View ArticleIntroduction to la4j
la4j - Linear Algebra for Java Introduction la4j - is open source single-threaded and 100% java library for solving problems of linear algebra. It supports sparse and dense matrices and covers almost...
View ArticleIntroduction to Efficient Java Matrix Library (EJML)
Location: http://code.google.com/p/efficient-java-matrix-library/ Linear algebra is a commonly used area of mathematics with a wide range of applications in various engineering and scientific fields....
View ArticleModify Contrast Using A ColorMatrix (on Android)
Modify contrast using a ColorMatrix (on Android).<code> ColorMatrixColorFilter setContrast(float contrast) { float scale = contrast + 1.f; float translate = (-.5f * scale + .5f) * 255.f; float[]...
View ArticleModify Contrast Using A ColorMatrix (on Android)
<code> ColorMatrixColorFilter setContrast(float contrast) { float scale = contrast + 1.f; float translate = (-.5f * scale + .5f) * 255.f; float[] array = new float[] { scale, 0, 0, 0, translate,...
View ArticleInvert Large Matrix
// description of your code here This function calculates the inverse of a square matrix matrix_inverse(double *Min, double *Mout, int actualsize) Min : Pointer to Input square Double Matrix Mout :...
View ArticleA^p Recursiv
<code> #include "stdafx.h" void mat(int A[10][10], int p, int B[10][10], int n ) { int i, j, k, C[10][10]; if (p==0) { // B = In; for (i=0;i<n;i++) for (j=0;j<n;j++) { if (i==j) B[i][j] =...
View Article矩陣é‹ç®—
// description of your code here<code> #include <iostream> using namespace std; void matIn(double mat[3][3], int r, int c) { int i, j; for(i=0; i<r; i++) { for(j=0; j<c;...
View ArticleStrange Square
For n = 8, builds 1 1 1 1 1 1 1 0 1 1 1 1 1 1 0 0 1 1 1 1 1 0 1 0 1 1 1 1 0 0 0 0 1 1 1 0 1 1 1 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 The algorithm, for a n x n matrix is: 1. Split the...
View ArticleMatrix Rotator
This method rotates a matrix Example output: ~/Desktop% ruby rotate.rb normal 12345 00000 fooba rotated left 50a 40b 30o 20o 10f rotated right f01 o02 o03 b04 a05<code> def rotateMatrix(matrix,...
View ArticleEjemplo De Matrices En C
Se crea un matrix dinamica en c, y luego se muestra, el tamano de muestra siempre es de 10x10<code> #include <stdio.h> #include <stdlib.h> void mostrar(int **a){ int i,j; for...
View Article