A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.arrayfire.org/docs/lin_algebra_2lu_8cpp-example.htm below:

ArrayFire: lin_algebra/lu.cpp

#include <cstdio>

#include <cstdlib>

int main(int argc, char* argv[]) {

try {

int device = argc > 1 ? atoi(argv[1]) : 0;

printf("Running LU InPlace\n");

luInPlace(pivot, lin);

printf("Running LU with Upper Lower Factorization\n");

lu(lower, upper, pivot, in);

fprintf(stderr,

"%s\n"

, e.

what

());

throw;

}

return 0;

}

A multi dimensional data container.

array copy() const

Perform deep copy of the array.

An ArrayFire exception class.

virtual const char * what() const

Returns an error message for the exception in a string format.

AFAPI void setDevice(const int device)

Sets the current device.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4