代码搜索:Matrix
找到约 10,000 项符合「Matrix」的源代码
代码结果 10,000
www.eeworm.com/read/359148/10164822
paf matrix.paf
www.eeworm.com/read/358614/10183796
java matrix.java
package Jama;
import java.text.NumberFormat;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.util.Locale;
import java.text.FieldPosition;
import java.io.Print
www.eeworm.com/read/358450/10189014
c matrix.c
/* matrix.c -- library routines for constructing dynamic matrices with
* arbitrary bounds using Iliffe vectors
****************************************************************
* HISTORY
www.eeworm.com/read/358450/10189015
h matrix.h
/* matrix.h -- define types for matrices using Iliffe vectors
*
*************************************************************
* HISTORY
*
* 02-Apr-95 Reg Willson (rgwillson@mmm.com) at 3M St. Pa
www.eeworm.com/read/358191/10194198
h matrix.h
#ifndef Matrix_
#define Matrix_
#include "xcept.h"
template
class Matrix {
friend ostream& operator
www.eeworm.com/read/358191/10194248
cpp 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
www.eeworm.com/read/358191/10194412
out 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
www.eeworm.com/read/357852/10200300
h matrix.h
#ifndef _MATRIX_H_
#define _MATRIX_H_
//start
class Matrix {
public:
Matrix(int c, int r);
Matrix(const Matrix& m);
~Matrix();
double& operator()(int i, int j);
double operator()(i
www.eeworm.com/read/357852/10200301
cpp matrix.cpp
#include "matrix.h"
Matrix:: Matrix(int c, int r):m_ColSize(c), m_RowSize(r) {
m_NumArray = new double*[c];
for (int i = 0; i < c; ++i)
m_NumArray[i] = new double[r];
}