代码搜索:Matrix
找到约 10,000 项符合「Matrix」的源代码
代码结果 10,000
www.eeworm.com/read/402666/11530725
h matrix.h
#ifndef NTL_matrix__H
#define NTL_matrix__H
#include
#include
// matrix templates
#define NTL_matrix_decl(T,vec_T,vec_vec_T,mat_T) \
class mat_T { \
pub
www.eeworm.com/read/401817/11548840
h matrix.h
#ifndef MATRIX_H_H
#define MATRIX_H_H
#define MATRIX_DATE_TYPE int
class CGAonKP;
class SaveMatrixArray
{
long n,m;
MATRIX_DATE_TYPE** pMatrix;
void ReleaseMemory();
public:
SaveMatrixAr
www.eeworm.com/read/401817/11548850
cpp matrix.cpp
#include "Matrix.h"
SaveMatrixArray::SaveMatrixArray()
{
n=0;m=0;
pMatrix=0;
}
SaveMatrixArray::SaveMatrixArray(long N,long M):n(N),m(M)
{
pMatrix=new MATRIX_DATE_TYPE*[n];
for (int i=0;i
www.eeworm.com/read/400648/11570935
h matrix.h
// Matrix.h: interface for the CMatrix class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MATRIX_H__F5A742DF_E053_4D49_AF7A_0895F11574B5__INCLUDED_)
www.eeworm.com/read/400648/11570973
cpp matrix.cpp
// Matrix.cpp: implementation of the CMatrix class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "FastRBF.h"
#include "Matrix.h"
#incl
www.eeworm.com/read/400470/11576057
h matrix.h
#ifndef MATRIX_H_
#define MATRIX_H_
class Matrix
{
private:
float *array;//存放矩阵元素的指针数组
int nrow,ncol;//矩阵的行列数
public:
//默认构造函数
Matrix():nrow(0),ncol(0),array(0){}
//以给定行列数和元素数组构造矩阵
www.eeworm.com/read/400470/11576058
cpp matrix.cpp
#include "matrix.h"
#include
using namespace std;
Matrix::Matrix(int m,int n, float* a):nrow(m),ncol(n),array(a)
{
}
/*
* 构造维数为n的单位矩阵
*/
Matrix::Matrix(size_t n):nrow(n),nc
www.eeworm.com/read/400359/11578374
h matrix.h
////////////////////////////////
// Matrix TCL Lite v1.13
// Copyright (c) 1997-2002 Techsoft Pvt. Ltd. (See License.Txt file.)
//
// Matrix.h: Matrix C++ template class include file
// Web: htt
www.eeworm.com/read/400154/11582081
cpp matrix.cpp
// 图的相邻矩阵表示方法
#include
#include
#include "Graph.h"
#include "Graphm.h"
#define N 5 // 定义图的顶点数
int A[N][N] = {
// V0 V1 V2 V3 V4
/*V0*/ 0, 0, 1, 1, 0,
www.eeworm.com/read/262556/11586935