代码搜索结果
找到约 10,000 项符合
LED Matrix 的代码
matrix.h
// Matrix.h: interface for the CMatrix class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_MATRIX_H__ACEC32EA_5254_4C23_A8BD_12F9220EF43A__INCLUDED_)
matrix.cpp
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
/////////////////////////
matrix.h
#ifndef __MATRIX_H
#define __MATRIX_H
void setidentity (float *, int, int);
void matrixmult (float *, float *, float, int, int);
void transpose (float *, int, int);
void ludcmp (float *, int
matrix.c
#include
#include
#include
void setidentity (float *a, int n, int lrow) {
int i, j;
float *ai, *aij;
ai = a;
for (i=0;i
matrix.h
// -*- c++ -*-
//
// Copyright 1997, 1998, 1999 University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek, Lie-Quan Lee
//
// This file is part of the Matrix Template Library
//
// You sh
matrix.h
#ifndef _MATRIX_H_
#define _MATRIX_H_
/**
* @file matrix.h
* Simple Math
*
* @author Marcelo Gattass
*
* @author Manuel E. L. Fernandez
*
* @date Jul06,2006
*
* Vector
matrix.c
/**
* @file matrix.c
* Simple Math
*
* @author Marcelo Gattass
*
* @author Manuel E. L. Fernandez
*
* @date Jul06,2006
*/
#include
#include
#include
matrix.h
#ifndef _MATRIX_H_
#define _MATRIX_H_
/******************
* Simple Math *
* *
* Marcelo Gattass *
* Dec04,2005 *
******************/
#if defined(__cplusplus)
e
matrix.c
/******************
* Simple Math *
* *
* Marcelo Gattass *
* Dec04,2005 *
******************/
#include
#include
#include
/* U