代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.cpp
// Matrix.cpp : Defines the class behaviors for the application.
//
#include "stdafx.h"
#include "Matrix.h"
#include "MatrixDlg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
stat
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
matrix.c
#include "stdio.h"
#include "stdlib.h"
#include "mpi.h"
#define intsize sizeof(int)
#define floatsize sizeof(float)
#define charsize sizeof(char)
#define A(x,y) A[x*K+y]
#define B(x,y) B[x*N+y]
#defi
matrix.h
#ifndef MATRIX_H
#define MATRIX_H
// 定义适合数学运算的实数matrix类,数据将存放在buffer类中
#include
#include
#include
// buffer.h包含实数缓存类buffer的定义
#include "buffer.h"
/
matrix.cpp
#include
#include
#include
#include
// 本程序实现matrix类
// 对matrix类的定义
#include "matrix.h"
matrix::matrix(buffer * b): // 缺省构造函数,产生0行0列空矩阵
rownum(0),co
matrix.java
public class Matrix{
public static void main(String args[]){
int i,j,p;
int a[][]={{1,2,3},{2,1,3},{3,2,1}};
int b[][]={{4,1,3},{3,1,1},{1,4,1}};
int c[][]=new int[3][3];
int d[][]=new int[3][3]
matrix.h
// Matrix.h: interface for the Matrix class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MATRIX_H__3461DABF_4919_4B31_81EA_AC9397ABBAE1__INCLUDED_)
matrix.c
int printf(char * format, ...);
int scanf(char * format, ...);
int main()
{
int ma[4][4], mb[4][4];
int i,j,k,tmp;
printf("Input ma[3][3]\n");
for(i=0;i
matrix.java
package mymath;
public class Matrix {
int [][] matrix;
int RowDim;
int LineDim;
/**
* the matrix Rows from 0, 1... RowDim-1.
* Line from 0, 1...LineDim-1.
*/
public Matrix(int