代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.h
// ENERGY211/CME211
//
// matrix.h - header file for Project 2
//
#include // Need this to use std::runtime_error
// class, for reporting errors
#ifndef CLASS_MATRIX // Make sure t
matrix.cpp
// ENERGY211/CME211
//
// matrix.cpp - Implementation file for Project 2
//
#include "matrix.h" // Must include corresponding header file
#include "vector.h"
#include // Need this to use
matrix.txt
0.063055,0.129468,0.029966,0.777510,
0.011885,0.030029,0.004839,0.953246,
0.012895,0.035797,0.004966,0.946342,
0.982582,0.010087,0.005656,0.001675,
0.017419,0.047566,0.006742,0.928273,
0.113058,0
matrix.h
#ifndef _MATRIX_H
#define _MATRIX_H
#include
#include
using namespace std;
//矩阵类的定义
template class Mtx
{
private:
int nrows; //行数
int ncols;
matrix.h
#ifndef _MATRIX_H
#define _MATRIX_H
#include
#include
using namespace std;
//矩阵类的定义
template class Mtx
{
private:
int nrows; //行数
int ncols;
matrix.h
//matrix.h//////////////////////////////////////////////////////////////////
// 2005.1.13-16:02 By Superman
#include "math.h"
/*****************************************************************
matrix.h
/*! @file
********************************************************************************
模块名 : 实现复数矩阵的基本运算
文件名 : matrix.h
文件实现功能 : 实现复数矩阵的基本运算,并能实现复数矩阵的求逆、快速傅里叶变换和奇异值分解。
作者
matrix.h
//matrix.h//////////////////////////////////////////////////////////////////
// 2005.1.13-16:02 By Superman
#include "math.h"
/*****************************************************************
matrix.cpp
#include
class matrix
{
short rows,cols;
double * elems;
public:
matrix(short rows,short cols);
~matrix();
double operator () (short row,short col);
void setelem(short row,short col,