代码搜索:sparse
找到约 3,324 项符合「sparse」的源代码
代码结果 3,324
www.eeworm.com/read/168037/9941310
h ant_sparse.h
#include
#include
#include
class Ant_sparse
{
private:
int xy_num;
double block_num;
int ant_num;
doubl
www.eeworm.com/read/168037/9941329
cpp ant_sparse.cpp
#include "Ant_sparse.h"
#include
#include
#include
#include
#include
double const alpha=0.8;
double const c=0.0001;
double const Q=20;
d
www.eeworm.com/read/359658/10131478
m read_sparse.m
%
% This reads a problem (in svmlight format) and
% return label vector and features in sparse matrix.
%
function [svm_lbl, svm_data] = read_sparse(fname);
fid = fopen(fname);
line = 0;
elements
www.eeworm.com/read/356588/10224252
c read_sparse.c
#include
#include
#include "mex.h"
#if MX_API_VER < 0x07030000
typedef int mwIndex;
#endif
void exit_with_help()
{
mexPrintf(
"Usage: [label_vector, instance_matrix] = read_s
www.eeworm.com/read/274278/10879208
c read_sparse.c
#include
#include
#include "mex.h"
#if MX_API_VER < 0x07030000
typedef int mwIndex;
#endif
void exit_with_help()
{
mexPrintf(
"Usage: [label_vector, instance_matrix] = read_s
www.eeworm.com/read/272513/10954801
cc sparse_matrix.cc
// -*- c++ -*-
//
// $Id $
//
// Copyright 1997, University of Notre Dame.
// Authors: Andrew Lumsdaine, Jeremy G. Siek
//
// This file is part of the Matrix Template Library
//
// You should have rec
www.eeworm.com/read/272513/10954861
cc sparse_mult.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
int random(int range) {
return rand() % (range -1) + 1;
}
int
main(int argc, char* argv[])
{
if (argc < 2) {
std::cerr
www.eeworm.com/read/272513/10954874
cc sparse_copy.cc
#include "mtl/matrix.h"
#include "mtl/mtl.h"
#include "mtl/utils.h"
/*
Sample Out:
A
10x10
[
[0,0,2,0,4,0,6,0,8,0],
[10,0,12,0,14,0,16,0,18,0],
[20,0,22,0,24,0,26,0,28,0],
[30,0,32,0,34,0,36,0,38,0
www.eeworm.com/read/418304/10954895
bmp mat_sparse.bmp
www.eeworm.com/read/272513/10955067
h sparse_iterator.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