public FunctionPolynomial getDeformationFunctionY(float l, float k, float N, float Y, bool start, int hyperstatism) { GetDeformationFunctionArgs getDeformationFunctionArgs = this.getDeformationFunction(hyperstatism); float[] deformationFunctionArgs = getDeformationFunctionArgs(l, k, N, Y, start); for (int i = 0; i < deformationFunctionArgs.Length; i++) { deformationFunctionArgs[i] = -deformationFunctionArgs[i]; } return(new FunctionPolynomial(deformationFunctionArgs)); }
private FunctionPolynomial getDeformationFunctionZ(float l, float k, float M, float Z, bool start, int hyperstatism) { GetDeformationFunctionArgs getDeformationFunctionArgs = this.getDeformationFunction(hyperstatism); float[] deformationFunctionArgs = getDeformationFunctionArgs(l, k, M, Z, start); /* * for (int i = 0; i < deformationFunctionArgs.Length; i++) * { * deformationFunctionArgs[i] = -deformationFunctionArgs[i]; * } */ return(new FunctionPolynomial(deformationFunctionArgs)); }