代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
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
class Matrix
{
private:
int row; // 矩阵的行数
int col; // 矩阵的列数
int n; // 矩阵元素个数
double* mtx; // 动态分配用来存放数组的空间
public:
Matrix(int row=1, int col=1)
matrix.cpp
#include
#include
matrix.h
//matrix.h//////////////////////////////////////////////////////////////////
// 2005.1.13-16:02 By Superman
#include "math.h"
/*****************************************************************
matrix.txt
/*///create a gradient horizontal matrix
CvMat* GradhMax=cvCreateMat(imgOrg->height,imgOrg->width,CV_16SC1);
int gradhMaxStep=GradhMax->step/sizeof(int);
int *datah=GradhMax->data.i;
for(in
matrix.h
// Matrix.h: interface for the Matrix class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MATRIX_H__3461DABF_4919_4B31_81EA_AC9397ABBAE1__INCLUDED_)
matrix.h
/*
* @(#)matrix.h generated by: makeheader 3.10 Tue Jun 18 00:53:14 2002
*
* built from: ../include/copyright.h
* ../include/mxassert.h
* alloccbk.c
* alloclst.c
* array