code: public static DZcsd cs_ddone (DZcsd D, DZcs C, int [] w, boolean ok)
  	{
  	//	    cs_spfree (C) ;                     /* free temporary matrix */
  	//	    cs_free (w) ;                       /* free workspace */
  		return (ok ? D : null) ;    /* return result if OK, else free it */
  	}
docs: /* free workspace and return a csd result