代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.cpp
// test matrix class
#include
#include "matrix.h"
void main(void)
{
try {
Matrix X(3,2), Y, Z;
int i, j;
for (i = 1; i
matrix.out
X(3,1) = 7
X is
3 4
5 6
7 8
Y is
3 4
5 6
7 8
X incremented by 2 is
5 6
7 8
9 10
Y + X is
8 10
12 14
16 18
-(Y + X) is
-8 -10
-12 -14
as_matrix.hxx
// Header for matrix.
// This class stands for a 3x3 Euclidean affine transformation.
// Note that it is NOT a tensor.
#if !defined( MATRIX_CLASS )
#define MATRIX_CLASS
#include "as_vector.hxx"
matrix.java
package shared;
import java.lang.*;
/** The Matrix class contains functions useful for manipulation of double arrays
* in MLJ.
* @author James Louis Java Implemtation.
*/
public class Matri