Jerasure  1.2
A Library in C/C++ Facilitating Erasure Coding for Storage Applications
cauchy.h
Go to the documentation of this file.
00001 /* cauchy.h
00002  * James S. Plank
00003 
00004 Jerasure - A C/C++ Library for a Variety of Reed-Solomon and RAID-6 Erasure Coding Techniques
00005 
00006 Revision 1.2A
00007 May 24, 2011
00008 
00009 James S. Plank
00010 Department of Electrical Engineering and Computer Science
00011 University of Tennessee
00012 Knoxville, TN 37996
00013 plank@cs.utk.edu
00014 
00015 Copyright (c) 2011, James S. Plank
00016 All rights reserved.
00017 
00018 Redistribution and use in source and binary forms, with or without
00019 modification, are permitted provided that the following conditions
00020 are met:
00021 
00022  - Redistributions of source code must retain the above copyright
00023    notice, this list of conditions and the following disclaimer.
00024 
00025  - Redistributions in binary form must reproduce the above copyright
00026    notice, this list of conditions and the following disclaimer in
00027    the documentation and/or other materials provided with the
00028    distribution.
00029 
00030  - Neither the name of the University of Tennessee nor the names of its
00031    contributors may be used to endorse or promote products derived
00032    from this software without specific prior written permission.
00033 
00034 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
00035 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
00036 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
00037 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
00038 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
00039 INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
00040 BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
00041 OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
00042 AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
00043 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
00044 WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00045 POSSIBILITY OF SUCH DAMAGE.
00046 
00047 */
00048 
00049 extern int *cauchy_original_coding_matrix(int k, int m, int w);
00050 extern int *cauchy_xy_coding_matrix(int k, int m, int w, int *x, int *y);
00051 extern void cauchy_improve_coding_matrix(int k, int m, int w, int *matrix);
00052 extern int *cauchy_good_general_coding_matrix(int k, int m, int w);
00053 extern int cauchy_n_ones(int n, int w);
 All Files Functions Variables Defines