This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Does block operation involve copying

Tags: None
(comma "," separated)
dkottas
Registered Member
Posts
2
Karma
0
Suppose i have a matrix P = [A B ; C D]
if i want to operate on A, and i use the block operator, this will involve a copy to A to an intermediate matrix, operations on it, and then copying it back to P ,
or the operations will happen directly on P ?
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
no copy at all, same for transpose(), imag(), real(), diagonal(), and the likes.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot], Yahoo [Bot]