代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.h
//matrix.h//////////////////////////////////////////////////////////////////
// 2005.1.13-16:02 By Superman
#include "math.h"
/*****************************************************************
matrix.h
/********************************************************************\
| Matrix.h: C++ matrix template class include file (Ver.1.0) |
|
matrix.h
#ifndef Matrix_
#define Matrix_
#include "xcept.h"
template
class Matrix {
friend ostream& operator
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
matrix.h
/*
* FILE --- matrix.hh
*
* PURPOSE --- Header file for a class for implementing a matrix of complexs
* together with matrix operations such as multiplication, transpose, inverse,
* etc. It
matrix.cpp
/*
* FILE --- matrix.cc
*
* PURPOSE --- Source file for a class for implementing a matrix of complexs
* together with matrix operations such as multiplication, transpose, inverse,
* etc. It
matrix.java
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either vers
matrix.java
/*
* This software is a cooperative product of The MathWorks and the National
* Institute of Standards and Technology (NIST) which has been released to the
* public domain. Neither The MathWorks no