Matrix criteria for the Pseudo-P-convexity of a quadratic form