Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 28440

Basic Linear Algebra Subprograms - A standard API library with vector-vector, matrix-vector, and matrix-matrix operations.

2 votes
1 answer
215 views

BLAS operation question

The BLAS function dtrmm comes close but cannot handle $B^T$ and also does not compute the sum part. Does anyone see a clever way to compute this with Level 3 BLAS calls? …
vibe's user avatar
  • 1,078
1 vote
0 answers
89 views

Fast calculation of $A^T B$

Dense BLAS algorithms often take advantage of blocks of data instead of operating on one row at a time, so my thinking was to do the same (instead of building B one row at a time, build a block of rows …
vibe's user avatar
  • 1,078
3 votes
2 answers
240 views

Parallel assembly of matrix

routine for this sum A[thread_id] over all threads to build final A When I wrote the code, I had thought that the calculation of $v_k$ and $G_k$ would be the slow parts, since they involve computations (BLAS … I compiled the code below with: gcc -g -Wall -O2 -fopenmp -o matrix matrix.c -lm -lgsl -lcblas -latlas Note that the prerequesites to run this are the GSL library and ATLAS BLAS - though you could replace …
vibe's user avatar
  • 1,078
4 votes
0 answers
108 views

Block matrix and DSYRK

nblocks}} W_k^T W_k $$ The reason I set the rows of $W_k$ equal to the vectors $v_i$ and not the columns is because I use C and this way the incX of the rows will be 1 which I think helps to speed up the BLAS
vibe's user avatar
  • 1,078