diag(4rheolef) rheolef-6.1 diag(4rheolef)NAME
diag - get diagonal part of a matrix
DESCRIPTION
This function get the diagonal part of a matrix.
csr<Float> a;
dia<Float> d = diag(a);
TODO
Build a csr matrix from a diagonal one or from a vector:
dia<Float> d;
csr<Float> a = diag(d);
vec<Float> u;
csr<Float> b = diag(u);
IMPLEMENTATION
template<class T, class M>
dia<T,M> diag (const csr<T,M>& a)
rheolef-6.1 rheolef-6.1 diag(4rheolef)
Check Out this Related Man Page
dia(2rheolef) rheolef-6.1 dia(2rheolef)NAME
dia - diagonal matrix
DESCRIPTION
The class implements a diagonal matrix. A declaration whithout any parametrers correspond to a null size matrix:
dia<Float> d;
The constructor can be invocated whith a ownership parameter (see distributor(2)):
dia<Float> d(ownership);
or an initialiser, either a vector (see vec(2)):
dia<Float> d(v);
or a csr matrix (see csr(2)):
dia<Float> d(a);
The conversion from dia to vec or csr is explicit.
When a diagonal matrix is constructed from a csr matrix, the definition of the diagonal of matrix is @emph{always} a vector of size
row_ownership which contains the elements in rows 1 to nrow of the matrix that are contained in the diagonal. If the diagonal element
falls outside the matrix, i.e. ncol < nrow then it is defined as a zero entry.
PRECONDITIONER INTERFACE
The class presents a preconditioner interface, as the solver(2), so that it can be used as preconditioner to the iterative solvers suite
(see pcg(4)).
IMPLEMENTATION
template<class T, class M = rheo_default_memory_model>
class dia : public vec<T,M> {
public:
// typedefs:
typedef typename vec<T,M>::size_type size_type;
typedef typename vec<T,M>::iterator iterator;
typedef typename vec<T,M>::const_iterator const_iterator;
// allocators/deallocators:
explicit dia (const distributor& ownership = distributor(),
const T& init_val = std::numeric_limits<T>::max());
explicit dia (const vec<T,M>& u);
explicit dia (const csr<T,M>& a);
dia<T,M>& operator= (const T& lambda);
// preconditionner interface: solves d*x=b
vec<T,M> solve (const vec<T,M>& b) const;
vec<T,M> trans_solve (const vec<T,M>& b) const;
};
template <class T, class M>
dia<T,M> operator/ (const T& lambda, const dia<T,M>& d);
template <class T, class M>
vec<T,M> operator* (const dia<T,M>& d, const vec<T,M>& x);
SEE ALSO distributor(2), vec(2), csr(2), solver(2), pcg(4)rheolef-6.1 rheolef-6.1 dia(2rheolef)
Problem: Several possible cooked Sun U10's.
Need: Sun Hardware Diag Tools.
I want to pound on these boxes and see whats what. I am wondering where I could find some Diag tools that will help me diag problems. Freeware is preferred. (The magic budget of $0) (7 Replies)
Hello all ,
This is the output of my prtdiag command ...The speed of each of the CPUs is listed below (1281 MHz ) ..That's fine ..I'm confused about the (System clock frequency: 183 MHZ ) ..What is the difference between System Clock freq and CPU freq ...THanks..
System Configuration: Sun... (5 Replies)
Hello Guys, :confused:
I have tried Up to my Levels
pls help me if u know any solution
Pls look out the following O/P,
Log Messages
=================================================
SUN> pwd
/usr/platform/SUNW,Sun-Fire-V240/sbin
SUN>
SUN>
SUN> prtdiag -v
bash: prtdiag: command not... (7 Replies)
I recently bought a sunblade 100 for $150 from a guy that posted it on craigslist. I'm trying to learn Solaris 10. Prior to giving me the system he had Ubuntu installed. He removed it for before giving it to me. I basically have a hard disk that has nothing installed in it. I tried installing... (6 Replies)
Hi, a couple of T2000 servers did not show the component status and the output was too short. There was a patch that needed to be installed. I also updated to the latest recommended patch cluster and OBP patch.
After reboot/restart of picl, it worked ok for a couple of weeks. Then suddenly it went... (12 Replies)
Hi everyone, newbie forum poster here. I'm an Oracle DBA and I require some guidance from the Unix gurus here about how to pinpoint where a problem is within a Solaris 9 system running on an 8 CPU Fujitsu server that acts as our Oracle database server. Our sysadmins are trying their best to... (13 Replies)
Hello Everyone!
I have a Sun Fire E2900. When I run a prtdiag -v, it fails to give complete information. It fails with the following error message "Prtdiag failed!Property not found".
Please help.
# which prtdiag
/usr/sbin/prtdiag
# ls -l /usr/sbin/prtdiag
-r-xr-xr-x 4 root bin 512... (10 Replies)
Hello,
I was under the impression that the Header of the prtdiag output shows the hardware vendor information in the section between System Configuration and sun4u/sun4us. But on some Solaris machines which are running on Fujitsu hardware, the vendor is shown as Sun Microsystems in this... (8 Replies)
Hi everyone,
Please can you tell me what kind of memro we are talking about when we run :
prtdiag -v
Memory size: 98016 Megabytes
Thank you (7 Replies)
i have learnt a little bit of shell scripting but not alot. i want to write a script to diagnose the network using ping and another script to traceroute. how would i do this? (6 Replies)
Hi Experts,
I want to print this charts diagonal data into straight lines.
This is a matrix 24X24 Horizontal and vertical.
- I want to print all the diagonal cutting characters into straight line:
Data:
E F S S A H A L L A T M C N O T S O B O D U Q H
I W I B N L O C N I L N L A N S I N... (9 Replies)
Hello,
I am using Red Hat 2.6.23.1 with RAID 6 controller (card).
(When I use "cat /proc/partitions" I do not see the separate HDDs in the RAID, I see one drive for the RAID itself, as it is considered 1 large drive.)
I used a "dd" check to test my RAID drive speed and found it was a bit slow,... (7 Replies)