General :: Find Inverse Of A Sparse Matrix?

Jun 24, 2010

I have a matrix of dimensions 100 x 100. It is a sparse matrix. It has 460 non-zero values (9540 are zero values).

I want to find inverse of this matrix.

View 14 Replies


ADVERTISEMENT

Server :: Df Shows Inconsistent Numbers - A Lot Of 'lost' Space - How To Find Sparse Files

Feb 3, 2011

There is a very conspicuous inaccuracy in the output of df. I should mention, that it was noticed to to a sudden change in the amount of space that was left on the backup partition. The df -h command produces the following output.

[Code]...

View 3 Replies View Related

Programming :: Parallel Matrix - Matrix Multiplication Seg-faults?

Apr 13, 2011

I just can't find... why is my code seg-faulting?

PHP Code:
/*
Code name: Assignment #7.
File name: slice.c
Program name: Matrix multiplication (parallel version).
Version: 1.

[Code]...

Is giving my a seg-fault right at the ending point where I do the final gather from the MASTER processor.

View 9 Replies View Related

General :: Filesystems - Convert A Disk Image Into A Sparse File?

Jul 31, 2010

I have a bunch of disk images, made with ddrescue, on an EXT partition, and I want to reduce their size without losing data, while still being mountable. How can I fill the empty space in the image's filesystem with zeros, and then convert the file into a sparse file so this empty space is not actually stored on disk?

For example:

> du -s --si --apparent-size Jimage.image
120G Jimage.image
> du -s --si Jimage.image
121G Jimage.image

This actually only has 50G of real data on it, though, so the second measurement should be much smaller.

This supposedly will fill empty space with zeros: cat /dev/zero > zero.file rm zero.file But if sparse files are handled transparently, it might actually create a sparse file without writing anything to the virtual disk, ironically preventing me from turning the virtual disk image into a sparse file itself. :) Does it? Note: For some reason, sudo dd if=/dev/zero of=./zero.file works when cat does not on a mounted disk image.

View 4 Replies View Related

Programming :: Inverse Regexp Matching / Developing Of An Idea 'pattern Based Filtration'?

Sep 3, 2010

I am interested in the following problem: given a string (pattern) find a regexp which match this pattern.
I will need this for a developing of an idea 'pattern based filtration'.

View 3 Replies View Related

Ubuntu :: How To Bunzip2 Sparse File

Dec 8, 2010

I have a bzip2 compressed disk image, and I would like to uncompress it again onto my disk without using up lots of space, in fact there isnt enough space on my disk if I were to uncompress it as is. However it was a sparse file with lots of space in its original form, so I know it will fit if I can uncompress it directly as sparse. Is there some combination of bzip2, cat, cp, dd or friends I can use to pipe the output from bzip2 directly to a sparse file again?

View 1 Replies View Related

General :: Interface GPIO Driven Matrix Keypad?

Dec 4, 2010

I want to interface GPIO driven matrix keypad(4X4) to my linux box.
I saw a driver source file
linux-2.6.32.2/drivers/input/keyboard/matrix_keypad.c

How can I use this to achieve what I want?

View 3 Replies View Related

Software :: More Usable Interface Than Fairly Sparse Man Pages Available?

Dec 29, 2010

I am interested in setting up speech recognition on my notebook. I have installed Sphinx3 and pocket_sphinx for my distro (Fedora 14), but have googled without success looking for an entry-level guide to get me started.I am wading through the doco at CMU, but I'm finding it hard to relate their text to the installed files on my system. They assume the user has downloaded and compiled from source, whereas I just used 'yum'.

Better: is there a front-end which presents a more usable interface than the fairly sparse man pages available? The sphinx3* tools do not seem to have any man pages and pocket_sphinx has man pages that assume I know what I am doing. As far as speech recognition is concerned, I am very much a pbeu (poor blinking end user) with no training.

View 5 Replies View Related

General :: Install Program - Spew Out An Error About .obj/matrix.o File

Feb 24, 2011

I am trying to install a program and it spews out an error about the .obj/matrix.o file. The output is quoted here:

[code]...

The program I was trying to install is a robot simulator which performs lots of matrix manipulation and linear system solving. I followed every step in the installation guide, except for this one:

[code]...

View 14 Replies View Related

General :: Error Opening Matrix File (null) For Reading"

Dec 22, 2010

I have installed CUDA-BLASTP on C2050.It is giving me an Error:"Bad address Error opening matrix file (null) for reading" while i am running with following query file and dataset:

./CUDA-BLASTP -i ./data/raimondii_contigs.fasta -d ./data/DB_sorted.fasta

and i am using BLOSUM62 as a matrix file which is already present in package.

And getting the error:"Error happened when the number of GPUs is 0" while i am running CUDABLASTP with a part of dataset taking as a query file and dataset is same. above mentioned error is comming from file "CUDA_Blast.cu" included in package.

else
{
printf("Error happened when the number of GPUs is %d
", localGPU_N);
exit(0);
}

View 2 Replies View Related

Programming :: C - Create 2 Vectors From 1 Matrix?

Mar 20, 2011

i did this code:

reads 1 matrix 2x2 and print!

Code:
# include <stdio.h>
int main()
{
int t, i, M[2][2];
int big[2];

[Code]....

Now i want to create 2 vectors:

1 vector: has the biggest number of every line on the matrix

2 vector: has the lowest number of every column on the matrix

View 1 Replies View Related

Programming :: Get Different Result Of Matrix Op On Hw Rtw Book?

Jul 31, 2011

Dear Linux/c++/g++ programmers: the run result on my system, ubuntuLinux10.04(kernel2.6.35-25), gcc4.5.2 is not what book predict

source code
http://examples.oreilly.com/9780596007614/
11-28
11-29
11-24
#include "matrix.hpp"

[Code]...

View 13 Replies View Related

Programming :: Python: Storing A Matrix For Later Use?

Apr 30, 2010

I'm writing a command-line flash card program in Python. I've tried many existing applications, but none fit my specialized needs.

All of the words I'd like to study are manually added to a text file (study.txt). Each time the software is loaded, it checks for new words in that file and also compares them to a dictionary (a tab-separated file, dictionary.txt), and adds that to a matrix. The flash cards are thus automatically generated from study.txt and dictionary.txt.

Now, the software must manage lots of information about each word I'd like to study and add new information made while interacting with the program (such as when that word should be studied next).

That seems easy to put into a matrix. But what is the best way to put that information in a place where I can pull it back when I run the software tomorrow? Do I need to save the matrix to a CSV file, then convert the CSV file back to a matrix the next time the application is run?

View 1 Replies View Related

Ubuntu :: Error: Matrix.h: No Such File Or Directory

Aug 11, 2010

I use Codeblocks as IDE environment for my C programs. I recently added the matrix library Meschach, but unfortunately the headers are not found during compiling/linking process.For instance, my generic program is the one below:

Code:

#include <stdio.h>
#include <stdlib.h>
#include <matrix.h>

[code]...

This program generates the following error during compilation:

Quote:

main.c|3|error: matrix.h: No such file or directory|

And the declaration <matrix.h> is supposed to include the Meschach library, according to the instruction on the below link:

[URL]

Furthermore, I see on folder /usr/include the following:File stdio.h;
Filestdlib.h;
Folder "Meschach", which contains the file "matrix.h".

View 1 Replies View Related

Fedora :: Epson Dot Matrix Printer Installation In 12

May 22, 2010

I have installed fresh fedora 12 & installed many softwares in rpm & tar forms , also i used yum to do installation, all these attempts were successful. But i could not install & configure Epson Dot matrix FX-2175 printer. Epson Dot matrix FX-2175 printer worked fine in my earlier distro fc11.

View 4 Replies View Related

Hardware :: Get An Epsom LX 400 Dot Matrix Printer To Work

Jun 1, 2010

I have a parallel port Epsom LX 400 dot matrix printer. In the printer proprieties menu it says for make and model Epson 9-Pin Series which it what it is.It's ok when I print directly to the port.

cat file >/dev/lp0

Using Mandriva 2010

View 4 Replies View Related

Programming :: C - One Value In The Matrix Drops To Zero When Passed In As Pointer?

Dec 8, 2010

This is one of the strangest problems I've run into while programming. Maybe there's just something wrong with my version of gcc or something.

The main problem comes at this point in the code:

Code:
po = makePoFromScorbotXYZPR(X, Y, Z, P, R);
h = makeHB2GFromPo(po);
printf("%le", *h[1][0]); //##################################### Here it has the right value
printf("%s", "

[Code].....

View 2 Replies View Related

Ubuntu :: Intel Matrix Storage Manager With 2.6.31

Apr 25, 2010

Ubuntu 2.6.31 - 14 generic

Problem began with RAID0 failure using 2 WD FALS1001 HDDs. I was unable to boot so I replaced the drives with 2 new FALS1001. Installed Win7 64 Ult, installed/updated all drivers/OS and had the same problem with one of the RAID drives again. Usually blue screens with Kernel_stack_inpage_error. I have Intel Matrix Storage version 8.5.0.1030 and can usually boot back into windows even when one disk out of the array shows unknown error (0) and reset the disk to normal. Now it seems to be progressing worse and hit or miss, I can get Windows to load 1 time out of 20 posts.

Sometimes the array shows normal, sometimes failed, sometimes unknown error (0) and other times, everything shows normal and healthy and attempts to boot windows but has read errors or unable to find OS errors. I simply want to access my data via Ubuntu so I can back it up and wipe the drives for re-installation. I see that Intel shows support for Linux but I'm lost as to what I need to do next. Intel link: [URL]. I currently see one of my drives listed in Ubuntu as a RAID component and the other is listed as a hard drive with unknown information. I have loaded mdadm but I'm unfamiliar with how to use it.

View 1 Replies View Related

Red Hat / Fedora :: Make: *** - .obj/matrix.o - Error During Installing A Program

Feb 25, 2011

I am trying to install a program and it spews out an error about the .obj/matrix.o file.

The output is quoted here:

Code:

The program I was trying to install is a robot simulator which performs lots of matrix manipulation and linear system solving. I followed every step in the installation guide, except for this one:

On Ubuntu, all you need to do is install the following packages from the package manager:

libblas-dev
liblapack-dev

As shown above, I am using RHEL 6, which has different libraries with Ubuntu. I tried "yum search" and installed these libraries instead: lapack.x86_64 : Numerical linear algebra package libraries blas.x86_64 : The Basic Linear Algebra Subprograms library.

View 2 Replies View Related

Slackware :: 13.1 64bit With Intel Matrix Storage Manager

May 14, 2010

I've been using Slackware 13.0 32-bit because of a problem supporting RAID 0 metadata for Intel Matrix Storage Manager. I would like to move to 64-bit with Slackware 13.1 but I can't see any way to use a 64-bit kernel with my RAID setup. Because the "mdadm" in Slackware does not support the "-e imsm" option to read Intel Matrix Storage Manager Metadata I have been using "dmraid". Unfortunately I'm having trouble finding a way to make "dmraid" (a 32-bit application) work on 64-bit Linux. It appears that "dmraid" may be unsupported now, and I can't find a good place to get current source to compile on a 64-bit system. Essentially "dmraid" is only a program to interpret metadata and then configure the standard Linux device mapper to set up the required mirror or stripe mapping. So, it actually does not have to interact directly with the kernel.

I believe it only issues I/O requests to read disks and configure "dm" devices. So far I have not had to rebuild "dmriad" since Slackware 10. I don't know if 32-bit libraries are an option, or if those can be added to an initrd image (required to use dmraid before booting). People claim that "mdadm" will work with Intel Matrix Storage RAID 0 but I have never found any detailed information about how to do that. When I've tried the few examples I've run across on Slackware I just get an error that the "imsm" metadata format is not supported. I have not been able to locate a site to browse Slackware packages. I was hoping to find "dmraid" in the 64-bit packages. I think "dmraid" was at one time in Slackware but perhaps not any longer.

View 13 Replies View Related

Debian Configuration :: Epson LX400 Dot Matrix With CUPS And No Lsusb?

Jun 21, 2011

trying to configure an old Epson LX 400 dot matrix printer with cups. I really need this printer to print vauchers. System is Debian SID, latest cups 1.4.3 cups was recently change to reject lsusb printing and now uses libusb. lsusb sees printer, but does not name it:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 1a40:0201 TERMINUS TECHNOLOGY INC.

[code]....

View 2 Replies View Related

Fedora Hardware :: RAID - Intel Matrix Storage Manager

Mar 28, 2010

I recently bought a new system that has an Intel Matrix Storage Manager "RAID controller" (ICH10R/DO) on it. I'm a bit baffled over what this really is. I see at [URL] that this controller is supported by the Linux dmraid and mdadm commands and supported in the 2.6 kernel version for quite a while. This looks as though it is some sort of convergence of a brain-dead hardware chipset that requires software installed in the OS to manage it. Kind of reminds me of the wimpy Windows modems of the past. How I deployed. I set up two Seagate ST31500541AS disks as a mirrored pair in the hardware controller interface (CTL-I setup after POST).

I installed Fedora 12 in the usual fashion, though was confusing considering I expected a single "RAID device" to be seen by Anaconda. I went ahead and set up the two native /dev/sda and /dev/sdb as a mirrored RAID device on installation (mdadm under the cover). Recently, Palimpsest is insisting that I have a disk problem with "Disk has many bad sectors" error on /dev/sdb. When I run "dmraid -s" it tells me that the meta device is OK and I see no hardware errors in the messages log. I'm not having kernel panics as others seem to have had on RHEL 5.x.

View 4 Replies View Related

Ubuntu Multimedia :: Compiz - Effect That Arrange Windows In Matrix?

Aug 28, 2010

I now that there is a an effect that arrange all your windows nicely in a matrix (all windows have the same size). What effect is that?

View 3 Replies View Related

Hardware :: Download Drivers / PPD File For Epson Lq-590 Dot Matrix Printer?

Feb 3, 2011

where can i download linux drivers / PPD file for epson lq-590 dot matrix printer? I have tried printing with the driver for epson lq-570+ but the print quality is not up to the mark

View 1 Replies View Related

Hardware :: Install Wipro Lq540 Dot Matrix Printer On Rhel5

Mar 10, 2011

i am using rhel5 & want to install wipro lq540 dot matrix printer on my system , i don't have product cd suggest me the right way to install printer manually, also this printer name is not listed in the printers list of rhel5 printer configuration menu

View 1 Replies View Related

Software :: Octave (v3.2): Initialize Vector/matrix Without Screen Output

Oct 22, 2010

I have recently installed Octave on my desktop and I am very busy with RTFM ATM.However, this manual is huge and I could not find an answer to my problem. What I basically want to do is initialize a vector like

Code:

a=[]
for i 1:100
a = [ a i ]
endfor

Now my problem is that this will call the pager and I have to hit 'q' to get my prompt back. I know I can turn it off but the screen will still get cluttered with tons of output.Is there a way to initialize 'a' quietly without any screen output?

View 2 Replies View Related

Programming :: Implementing Matrix Based Keypad On X86 Processor Using GPIO's?

Feb 5, 2010

I need to control matrix 5x4 keypad, on a processor

i am doing by making one row low at a time, and keeping all other rows high,

by scaning coloums, the corresponding key value becomes low.

my problems is that it is taking much time to respond, like to make gpio

low to high and high to low...

View 1 Replies View Related

Programming :: Double Pointers / Matrix GCC (fill It One Column With Zeros And The Other With Ones)

May 26, 2011

I have a 10x2 matrix, I create said matrix and fill it one column with zeros and the other with ones, now when I print the matrix I get this:

column 1:
0,0,0,0,0,0,0,0,1,1
column 2:
1,1,1,1,1,1,1,1,1,1

The first two rows of the second column are being replaced into the last two rows of the first column, now I even checked in visual studio and it works fine there. A friend tried my code and he gets it even worse:
column 1:

0,0,0,0,1,1,1,1,1,1
column 2:
1,1,1,1,1,1,1,1,1,1

As far as I've seen it must be a problem with GCC, unfortunately I need to have this up and running in GCC no matter what.

[Code].....

View 6 Replies View Related

Ubuntu Installation :: Detecting Intel Matrix RAID10 And Start 10.04 Install

Jun 17, 2010

I am trying to install ubuntu 10.04 to my raid 1+0 array. Install just sees four different hd:s
main-0
main-1
storage-0
storage-1

There is not showing any size or anything. I have set two raid arrays: main and storage, both with 4-hard-driver (raid10). Storage array is partitioned to 1TB and 400GB partitions, 400GB partition is where i want to install ubuntu. Main array has windows already. Where to go next?

root@ubuntu:~/src# dmraid -ay
RAID set "isw_beieefiehj_main" already active
RAID set "isw_beieefiehj_storage" already active
RAID set "isw_beieefiehj_main1" already active
RAID set "isw_beieefiehj_storage1" already active
root@ubuntu:~/src# parted_devices .....

View 2 Replies View Related

Ubuntu :: Epson FX-2175 (dot-matrix Printer) And SD Card Reader Installation?

Jan 3, 2011

I have installed ubuntu 10.10 netbook remix on my eMachines 350 netbook.. so far, it works good aside from the printer and the built-in SDcard reader.

1. I have tried installing the database driver for epson( dot-matrix printers) but i was out of luck until i have installed the SCP(sorry if I forgot/misrepresented the name) driver which made my printer working.. However, the print quality is a total mess.. broken letters and etc.. (ribbon is brand new) Can someone tell me how to solve this?

2. Having said that I finally solved issue #1, and the printer prints the way it should be, how would I configure my netbook to print wirelessly via a wifi router.. (I was able to do this with windows computers wherein a printer is shared on the network) however, I find it hard to do this in ubuntu since I am not that familiar with this. Note that when I go to system>admin>printing it shows the windows 7 computers in the homegroup but when I search for a shared printer, nothing shows up.. (I know, I'm a NOOB!)

3. This is the last one, I would feel great if we could at least solve this together.. the built in CARD READER is not working on my eMachines EM350 netbook..

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved